media: qcom: iris: encoder feature enhancements batch2 - #867
Conversation
Add support for intra refresh configuration on gen1 encoder by enabling V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD and V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE controls. Reviewed-by: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com> Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8650-HDK Signed-off-by: Wangao Wang <wangao.wang@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Bryan O'Donoghue <bod@kernel.org> Link: https://lore.kernel.org/linux-arm-msm/20260512-batch2_features-v7-1-4954e3b4df84@oss.qualcomm.com/
Add Long-Term Reference(LTR) frame support for both gen1 and gen2 encoders by enabling the following V4L2 controls: V4L2_CID_MPEG_VIDEO_LTR_COUNT V4L2_CID_MPEG_VIDEO_USE_LTR_FRAMES V4L2_CID_MPEG_VIDEO_FRAME_LTR_INDEX Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8650-HDK Reviewed-by: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com> Signed-off-by: Wangao Wang <wangao.wang@oss.qualcomm.com> Signed-off-by: Bryan O'Donoghue <bod@kernel.org> Link: https://lore.kernel.org/linux-arm-msm/20260512-batch2_features-v7-2-4954e3b4df84@oss.qualcomm.com/
Add support for B-frame configuration on both gen1 and gen2 encoders by enabling V4L2_CID_MPEG_VIDEO_B_FRAMES control. Reviewed-by: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com> Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8650-HDK Signed-off-by: Wangao Wang <wangao.wang@oss.qualcomm.com> Signed-off-by: Bryan O'Donoghue <bod@kernel.org> Link: https://lore.kernel.org/linux-arm-msm/20260512-batch2_features-v7-3-4954e3b4df84@oss.qualcomm.com/
Add hierarchical coding support for both gen1 and gen2 encoders by enabling the following V4L2 controls: H264: V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING, V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_TYPE, V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER HEVC(gen2 only): V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_TYPE, V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_LAYER Reviewed-by: Vikash Garodia <vikash.garodia@oss.qualcomm.com> Signed-off-by: Wangao Wang <wangao.wang@oss.qualcomm.com> Signed-off-by: Bryan O'Donoghue <bod@kernel.org> Link: https://lore.kernel.org/linux-arm-msm/20260512-batch2_features-v7-4-4954e3b4df84@oss.qualcomm.com/
|
Merge Check Failed: No Change Task Found No associated change tasks found for CR 4623257 on any of the following entities: Entities:
CR: 4623257 Please ensure the CR has a change task associated with at least one of the entities for this branch. |
PR #867 — validate-patchPR: #867
Final Summary
|
PR #867 — checker-log-analyzerPR: #867
Detailed report: Full report
|
|
WangaoW Sorry to hijack this thread. I noticed that the encoder implementation in the downstream video-driver references The 10-bit decoding was supported recently. Are there any plans to upstream support for 10-bit encoding (HEVC Main10 / P010) to the new Iris driver? This is very useful for HDR10 encoding use cases. |
Yes, we do plan to support HDR10 for encode as well. Immediate plan is to support ROI (patches posted), followed by HDR10+ decode. Next would be HDR10 encode. |
vgarodia Thank you for the reply. Based on my overview of the downstream video-driver, not every platform supports 10-bit encoding (I am unsure whether this is due to hardware limitations or a lack of implementation in the firmware). It would be great to have a feature matrix placed somewhere documenting VPU support for 10-bit encoding and similar codec specs across the various platforms. For example, something like https://developer.nvidia.com/video-encode-decode-support-matrix My primary use case is FFmpeg, including patching it to use 10-bit support when necessary. I am currently running on the QCS6490 and SC8280XP, and might be able to test on the X1E in the future. |
This patch series introduces several enhancements to the Qualcomm Iris
encoder driver, improving support for V4L2 controls and enabling more
video encoding features.
All patches have been tested with v4l2-compliance and v4l2-ctl on
gen1:SM8250, QCS6490, gen2:QCS8300, QCS8550, QCS9100, X1E-80100.
CRs-Fixed: 4623257